/**
 * 
 */
package edu.rit.cs.web.pojos;

import java.io.Serializable;

/**
 * A class representation of the information contained in a business entity.
 * Contains only one {@link Contact} and {@link Service} information.
 * 
 * @author Abhishek Shrestha (axs1430)
 * @author Juan Saldana (jjs6109)
 * @author Victor Alvarez (vxa1557)
 */
public class Business implements Serializable {
  private static final long serialVersionUID = 1L;

  private String key;
  private String name;
  private String description;
  private Contact contact;
  private Service service;

  public Business() {
    setContact(new Contact());
    setService(new Service());
  }

  /**
   * @return the key
   */
  public String getKey() {
    return key;
  }

  /**
   * @param key the key to set
   */
  public void setKey(String key) {
    this.key = key;
  }

  /**
   * @return the name
   */
  public String getName() {
    return name;
  }

  /**
   * @param name the name to set
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * @return the description
   */
  public String getDescription() {
    return description;
  }

  /**
   * @param description the description to set
   */
  public void setDescription(String description) {
    this.description = description;
  }

  /**
   * @return the contact
   */
  public Contact getContact() {
    return contact;
  }

  /**
   * @param contact the contact to set
   */
  public void setContact(Contact contact) {
    this.contact = contact;
  }

  /**
   * @return the service
   */
  public Service getService() {
    return service;
  }

  /**
   * @param service the service to set
   */
  public void setService(Service service) {
    this.service = service;
  }

}
